package crawlerThread;

/**
 * @author sunzhihao2
 * @date 17:56 2018/5/24
 */
public class CrawlerThreadRun {
    /**
     *
     * 三个线程同时爬取概念ID
     * */
    public static void main(String[] args) {
        //实例化站台对象，并为每一个站台取名字
        CrawlerThread crawler1=new CrawlerThread("Thread-1");
        CrawlerThread crawler2=new CrawlerThread("Thread-2");
        CrawlerThread crawler3=new CrawlerThread("Thread-3");
        CrawlerThread crawler4=new CrawlerThread("Thread-4");
        CrawlerThread crawler5=new CrawlerThread("Thread-5");
        crawler1.start();
        crawler2.start();
        crawler3.start();
        crawler4.start();
        crawler5.start();


    }
}
